package test;

public class UserService {

    public boolean login(String name,String password){
        if("jojo".equals(name) && "123".equals(password)){
            return true;
        }
        return false;
    }
    public void logout(){
        System.out.println("退出成功！");
    }
}
